project(BufferIPC)

set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_STANDARD 20)

link_libraries(ClientIPC ClientSub AlgorithmIPC)
include_directories(inc ../Thrift/Client ../Broadcast/inc ../Thrift/Algorithm)
aux_source_directory(src SOURCE_CODE)

add_library(BufferIPC ${SOURCE_CODE})
add_executable(GetOneFrame run/GetOneFrame.cpp ${SOURCE_CODE})
add_executable(AlgorithmIPC_test run/Algorithm_test)
add_executable(AlgorithmManager_test run/AlgorithmManager_test.cpp
                                     src/AlgorithmManager.cpp)
